<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>{$infoDdata.title} -  - <?php echo $config['cfg_webname']; ?></title>
    <link rel="stylesheet" type="text/css" href="__THEME_PATH__css/style.css" />
    <link rel="stylesheet" type="text/css" href="__THEME_PATH__css/top.css" />
    <style type="text/css">
        .shareTitle{ position:relative; width:100%; padding-bottom:10px; padding-top:10px; height:auto; border-bottom:dashed #d5e6ed 1px; }
        .shareTitle h2{ color:#444444; line-height:40px; height:40px; margin:0px; padding:10px; float:left; letter-spacing:1px; font-size:22px;}
        .shareTitle .price{ color:#FF0000; line-height:40px; padding:10px; float:left;}
        .shareBox{ width:960px; height:auto; background-repeat:no-repeat; background-position:40px 120px; margin-bottom:80px; }
        .shareR{float:left; width:350px; margin-top:20px; height:auto; background-color:#FFFFFF; color:#333333;line-height:25px;}
        .text{border:1px solid #efefef; background-color:#f9f9f9; padding:10px; font-size:14px;}
        .text strong{text-decoration:underline; color:#ff3300; letter-spacing:2px;}
        .text li{ line-height:35px; font-size:14px;}
        .text .tl{ font-size:16px; color:#0066FF; margin-bottom:15px;}
        .text .tl a{ color:#000000;}
        .sal{ border:1px solid #eeeeee; margin-top:10px;}
        .sal .title{ font-size:14px; color:#000000; line-height:25px; font-weight:bolder; padding:8px; background-color:#efefef;}
        .sal .shareLink{margin:0px; padding:10px; padding-top:0px; position:relative; top:1px;}
        .sal .shareLink li{ list-style:none; line-height:30px;height: 30px;
            overflow: hidden; width:152px; overflow:hidden; padding:3px; float:left; border-bottom:1px solid #efefef;}
        .sal .shareLink li .price{color:#ff0000;}
        .ts{position:absolute; bottom:10px; right:0px; font-size:12px; color:#333333; letter-spacing:1px; text-align:right;}
        .ts strong{ color:#000000; text-decoration:underline; font-weight:lighter;}
        .ts a{ text-decoration:underline;}
        .ts a:hover{ text-decoration:underline; color:#FF3300;}
        .shareBu{height:40px; width:130px; line-height:40px; color:#FFFFFF; background-image:url(/images/ico11.gif); background-position:left; background-repeat:no-repeat; padding-left:30px; background-color:#ff5f00; float:left; font-weight:bolder; font-size:16px; letter-spacing:1px; text-align:center; margin-bottom:10px;}
        .shareCon{ float:left; padding:15px; width:548px; border:1px solid #dedede; background-color:#FFFFFF; margin-top:20px; font-size:14px; color:#444444; line-height:25px; letter-spacing:1px; margin-right:30px;}
        .shareCon img{ margin-bottom:20px; width:450px; padding:10px; border:1px solid #dedede;}
        .shareLink{ padding:0px; margin:0px;}
        .shareLink li{ font-size:12px; line-height:25px; padding:0px; }
        .xglj{ background-color:#fcfcfc;}
        .xglj .title{ line-height:35px; height:35px; border-bottom:1px solid #1ba5cc; text-align:right;}
        .xglj .titlek{ background-color:#1ba5cc; width:140px; text-align:center; float:left; color:#FFFFFF;}
        .xglj .titleTk{width:390px; float:left; text-align:center; text-align:right;}
        .xglj .xgljCon{ border:1px solid #dedede; width:546px; overflow:hidden; border-top:0px}
        .xglj .xgljCon ul{ margin:0px; padding:0px; width:540px; padding:10px;}
        .xglj .xgljCon ul li{float:left; list-style:none; width:170px; padding:5px; font-size:14px;}
        .xglj .xgljCon ul li a{ color:#444444;}
        .xglj .xgljCon ul li .ck{ color:#0066cc; background-color:#ff5f00; padding:3px; color:#FFFFFF; font-weight:lighter;}
    </style>
</head>
<body>
<div align="center">
    <include file="Template/default/header.php"/>
    <script language="javascript" src="__THEME_PATH__js/m.js"></script>
    <script language="javascript" src="__THEME_PATH__js/search.js"></script>
    <script type="text/javascript" src="__THEME_PATH__js/jquery.js"></script>
    <script type="text/javascript" src="__THEME_PATH__js/lrtk.js"></script>
    <script type="text/javascript">fWeather("4","500","32");</script>
    <script type="text/javascript">
        (function(){
            var mini_menu = $('#searchSort');
            mini_menu.click(function(event) {
                mini_menu.next().toggle();
                $('body').one('click', function(event) {
                    //console.log('test');
                    mini_menu.next().hide();
                });
                return false;
            });
        })();
    </script>
    <div class="main">
        <div class="shareBox">
            <div class="shareTitle">
                <h2>{$infoDdata.title}</h2>
                <div class="price">
                    <?php
                    if(!empty($infoDdata['money'])){
                        echo "￥". $infoDdata['money'] ."元" ;
                    }else{
                        echo '面谈';
                    }
                    ?>
                </div>
                <div class="clear"></div>
            </div>
            <div class="shareCon">
                <strong style="color:#197acf">信息内容：</strong><br />
                <?php if(!empty($infoDdata['images'])){
                    $images = array_filter(explode(',',$data['images']));
                    if(empty($images)) $images[0] = $infoDdata['images'];
                    foreach($images as $k => $v){
                        if(!empty($v)){
                            echo '<img src="'.str_replace('./','/',C("thumb_save_path")) .'600_600/'.$v.'" alt="'. $data['title'] .'['. $k  .']" /><br />';
                        }

                    }
                }; ?>
                {$infoDdata.content}<br />
                <br />
                <div class="xglj">
                    <div class="title">

                        <div class="titlek">相关链接</div>
                        <div class="titleTk">返回<a href="<?php echo $config['cfg_basehost']; ?>" class="ck">
                                <?php echo $config['cfg_webname']; ?></a>首页，免费<a href="{:UU('Info/post/index')}" class="ck">发布信息</a>！
                        </div></div>
                    <div class="xgljCon">
                        <ul>
                            <?php foreach($category as $k => $v){?>
                                <li><a href="<?php echo UU('Info/list/index',array('cid'=>$v['pid']));?>"><?php echo $v['category'];?></a></li>
                            <?php } ?>
                        </ul>
                        <div class="clear"></div>
                    </div>
                    <div class="clear"></div>
                </div>
            </div>
            <div class="shareR">
                <div class="text">
                    <a href="<?php echo UU('Info/info/index',array('id'=>$infoDdata['id'])); ?>" class="shareBu">查看联系方式</a>
                    <div class="clear"></div>
                    <div id="shareBox"></div>
                    <a href="#nogo" onclick="javascript:cpIt('tpoint');">【复制网址】</a>发给好友支持！<br />
<textarea class="postOkP1" style="display:none;" id="tpoint"><?php echo $infoDdata['title'];echo UU('Info/info/index',array('id'=>$infoDdata['id'])); ?></textarea>
                </div>
                <div class="sal">
                    <div class="title">相关信息</div>
                    <ul class="shareLink">




                        <?php foreach($hotInfo as $k => $v){?>
                        <li><a href="<?php echo UU('Info/info/index',array('id'=>$v['id'])); ?>" target="_blank"><?php echo $v['title'];?></a>
                            <span class="price"><?php
                                if(!empty($v['money'])){
                                    echo "￥" .$v['money'];
                                }else{
                                    echo '面谈';
                                }
                                ?></span></li>
                        <?php } ?>


                       

                    </ul>
                    <div class="clear"></div>
                </div>
            </div>
            <div class="clear"></div>
        </div>
        <include file="Template/default/footer.php"/>
    </div>
</div>
<script type="text/javascript">

    /* copy to clipboard */
    copyToClipboard=function(txt){
        if(window.clipboardData){
            window.clipboardData.clearData();
            window.clipboardData.setData("Text",txt);
        }else if(navigator.userAgent.indexOf("Opera")!=-1){
            window.location=txt;
        }else if(window.netscape){
            try{
                netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
            }catch(e){
                alert("您的firefox安全限制限制您进行剪贴板操作，请打开'about:config'将signed.applets.codebase_principal_support'设置为true'之后重试。");
                return false;
            }
            var clip=Components.classes['@mozilla.org/widget/clipboard;1'].createInstance(Components.interfaces.nsIClipboard);
            if(!clip)return;
            var trans=Components.classes['@mozilla.org/widget/transferable;1'].createInstance(Components.interfaces.nsITransferable);
            if(!trans)return;
            trans.addDataFlavor('text/unicode');
            var str=new Object();
            var len=new Object();
            var str=Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString);
            var copytext=txt;str.data=copytext;
            trans.setTransferData("text/unicode",str,copytext.length*2);
            var clipid=Components.interfaces.nsIClipboard;
            if(!clip)return false;
            clip.setData(trans,null,clipid.kGlobalClipboard);
        }
    }
</script>
<script>
    function cpIt(v1)
    {
        if(copyToClipboard(document.getElementById('tpoint').value)!=false){
            alert("生成的代码已经复制到粘贴板，你可以使用Ctrl+V 贴到需要的地方去了哦！ ");
        }
    }
    var iPoint=<?php echo $times;?>,iWebShare=10;
    if(iPoint>=iWebShare)
    {
        _q("shareBox").innerHTML='本页面已被<strong title="把网页地址发给您的好友，有10人访问，您的信息就会自动置顶一周。"><?php echo $times;?></strong>人访问！<strong title="把网页地址发给您的好友，有10人访问，您的信息就会自动置顶一周。" style="color:#ff3300;">信息已成功置顶</strong>一周！<br />';
    }
    else
    {
        _q("shareBox").innerHTML='本页面已被<strong title="把网页地址发给您的好友，有10人访问，您的信息就会自动置顶一周。"><?php echo $times;?></strong>人访问！<br /><strong title="把网页地址发给您的好友，有10人访问，您的信息就会自动置顶一周。">10</strong>人访问后信息<strong title="把网页地址发给您的好友，有10人访问，您的信息就会自动置顶一周。">自动置顶</strong>一周！<br />';
    }
</script>
</body>
</html>